package com.three.productList.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.ProductReview;
import com.three.core.vo.R;
import com.three.productList.vo.EvaluateVo;
import com.three.productList.vo.ProductRatVo;
import com.three.productList.vo.SearchFormReview;

import java.util.List;

/**
 * @author ：li
 * @date ：Created in 2025/3/13 013 16:15
 * @description：
 * @modified By：
 * @version:
 */
public interface ProductReviewService {
    R<IPage<ProductReview>> selectProductReview(SearchFormReview searchForm);
    R<List<EvaluateVo>> selectCommentsVoByProductId(Integer productId);

    R<List<ProductReview>> selectCommentsByProductId(Integer productId);

    R<ProductRatVo> selectContentByProductId(Integer productId);
}
